package com.hxkj.domain.enums;

/**
 * Created by chenwei on 2017/8/14.
 */
public enum FunctionType {

    MENU(new Byte("1"), "BM"),
    BUTTON(new Byte("2"), "BA");

    FunctionType(Byte code, String description) {
        this.code = code;
        this.description = description;
    }

    private Byte code;
    private String description;

    public byte getCode() {
        return code;
    }

    public void setCode(Byte code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
